package com.smh.model;

import lombok.Data;

@Data
public class User {

    private String name;
    private Integer age;
    private String idcardNo;
    private String head;

    public User(String name, Integer age, String idcardNo, String head) {
        this.name = name;
        this.age = age;
        this.idcardNo = idcardNo;
        this.head = head;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", idcardNo='" + idcardNo + '\'' +
                ", head='" + head + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIdcardNo() {
        return idcardNo;
    }

    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }
}
